package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompLeaseOrderPageDTO;
import com.softtown.modules.dapai.dto.CompSaleOrderPageDTO;
import com.softtown.modules.dapai.dto.LeaseOrderAddOrUpdateDTO;
import com.softtown.modules.dapai.dto.SaleOrderAddOrUpdateDTO;
import com.softtown.modules.dapai.entity.CompLeaseOrderEntity;
import com.softtown.modules.dapai.entity.CompSaleOrderEntity;
import com.softtown.modules.dapai.vo.CompLeaseOrderVO;
import com.softtown.modules.dapai.vo.CompSaleOrderVO;
import com.softtown.modules.dapai.vo.SaleOrderCustomerVO;


/**
 * @Author: Ding Ya Yong
 * @Description: 租赁订单
 * @Date: 2021/12/24 21:18
 * @Param:
 * @return:
 **/
public interface CompLeaseOrderService extends BaseService<CompLeaseOrderEntity> {

    PageInfo<CompLeaseOrderEntity> getLeaseOrderPageList(CompLeaseOrderPageDTO compLeaseOrderPageDTO);


    CompLeaseOrderVO getLeaseOrderById (Long compId, Long id);


    void  addLeaseOrder(LeaseOrderAddOrUpdateDTO leaseOrderAddOrUpdateDTO);

    void updateLeaseOrder(LeaseOrderAddOrUpdateDTO leaseOrderAddOrUpdateDTO);

    void deleteLeaseOrder(Long compId, Long id);

}
